#coding=utf8
from util.path_generator import filePath
from configparser import ConfigParser,RawConfigParser
class Configer:
    def __init__(self):
        self.configer=ConfigParser()
        self.configer.read(filePath.config_path+"config.ini")
        self.sections=self.configer.sections()
    def get_str(self,section,option):
        return self.configer.get(section,option)
    def get_int(self,section,option):
        return self.configer.getint(section, option)
    def get_float(self,section,option):
        return self.configer.getfloat(section, option)
    def get_boolean(self,section,option):
        return self.configer.getboolean(section, option)

configer=Configer()
